Skip to content

Conversation

@bean1352
Copy link
Contributor

@bean1352 bean1352 commented Jan 8, 2026

Added the react-native-background-sync project to demos. This project showcases how to use Expo's BackgroundTask API to connect to PowerSync, allowing the local SQLite database to stay in sync with the source database when the mobile app is backgrounded.

@changeset-bot
Copy link

changeset-bot bot commented Jan 8, 2026

⚠️ No Changeset found

Latest commit: 831678c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@LucDeCaf
Copy link
Contributor

LucDeCaf commented Jan 8, 2026

Is there a way to get some initial data on the client? AFAIK since it's using anonymous sign in, nothing's being synced down by default.

Edit: Got some creds with data, seems to work 👍

LucDeCaf
LucDeCaf previously approved these changes Jan 8, 2026
Copy link
Contributor

@LucDeCaf LucDeCaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is super neat, thanks for this 🙌

LucDeCaf
LucDeCaf previously approved these changes Jan 9, 2026
Chriztiaan
Chriztiaan previously approved these changes Jan 9, 2026
@Chriztiaan
Copy link
Contributor

Minor notes:

  1. Please add a reference to this example in the root readme.
  2. The tests pass locally for me, not sure where the github action failure is coming from.

@bean1352 bean1352 dismissed stale reviews from Chriztiaan and LucDeCaf via 831678c January 13, 2026 10:03
@bean1352 bean1352 merged commit d89bc7b into main Jan 13, 2026
9 of 13 checks passed
@bean1352 bean1352 deleted the feat/add-backgroundsync-demo branch January 13, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants